function block1(){
	var a=document.getElementById("e1");
	a.style.display="block";
}
function block2(){
	var a=document.getElementById("e2");
	a.style.display="block";
}
function block3(){
	var a=document.getElementById("e3");
	a.style.display="block";
}
function none(){
	var a=document.getElementById("e1");
	var b=document.getElementById("e2");
	var c=document.getElementById("e3");
	a.style.display="none";
	b.style.display="none";
	c.style.display="none";
}
function play(){
	var a=document.getElementById("video");
	var b=document.getElementById("video-img");
	b.style.display="none";
	a.style.display="block";
	a.play();
}
window.onload=showPic;
function showPic(){
	var t = document.documentElement.scrollTop || document.body.scrollTop;  //获取距离页面顶部的距离
    var a = document.getElementById("zz");
    var b = document.getElementById("zzz");
    var c = document.getElementById("zzzz");
    var time;
    if( t >= 100 && t < 700 ) { //当距离顶部超过300px时
		$("#zz").addClass("animated lightSpeedIn");
    }
    else if(t >= 700 && t < 1200 ){
		$("#zzz").addClass("animated rollIn");
    }
    else if(t >= 1200 && t < 1800 ){
		$("#zzzz").addClass("animated rotateIn");
    }
    else if(t >= 2000 && t < 2200 ){
		$("#zzzzz").addClass("animated fadeInDownBig");
    }
    else if(t >= 2400 && t < 2500 ){
		$("#zzzzzz").addClass("animated fadeInUp");
    }
	time=setTimeout("showPic()",100);
}
function bottom(){
	window.location.href="http://www.miitbeian.gov.cn";
}
